package Server;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@ComponentScan({"Server.tool.wx","Server","Plug","**.controller.**","**.service.impl","Server.security", "Server.dao","Server.entity","Server.init"})
@EnableJpaAuditing
@EnableTransactionManagement
@SpringBootApplication
@EnableScheduling
@ServletComponentScan
public class BootApplication {
    public static void main(String[] args) {
        SpringApplication application =new SpringApplication(BootApplication.class);
        application.run(args);
    }
}
